<template>
  <MainLayout>
    <section class="forum-header">
      <div class="container">
        <div class="forum-header-title">每个部门的3D工作流程杠杆</div>
        <div class="forum-header-content">旨在实现跨职能团队之间的协作，以获得更强大、更快、更好的项目结果。</div>
        <div class="find-btn">
          <div class="find-btn-txt" @click="jump('/business/contact')">我们谈谈吧</div>
        </div>
      </div>
    </section>

    <section class="secure-content" v-for="item in caseList" :key="item.title">
      <div class="container">
        <div class="secure-title">{{ item.title }}</div>
        <div class="secure-level">
          <div class="secure-level-content" v-for="child in item.list" :key="child.title">
            <div class="secure-level-title">{{ child.title }}</div>
            <div class="secure-level-desc" v-for="tips in child.tipsList" :key="tips">
              <li>{{ tips }}</li>
            </div>
          </div>
        </div>
        <img class="img-section-img" :src="item.img" alt="" />
      </div>
    </section>

    <section class="img-section">
      <div class="container">
        <img
          class="img-section-img cursor"
          @click="jump('/business/contact')"
          src="/images/business/case/7.jpg"
          alt=""
        />
      </div>
    </section>
  </MainLayout>
</template>

<script setup>
  import { useRouter } from "vue-router";
  const router = useRouter();
  let caseList = [
    {
      title: "工程与开发",
      img: "/images/business/case/1.jpg",
      list: [
        {
          title: "福利",
          tipsList: [
            "借助实时3D渲染，改善CAD可视化",
            "解释交互、动画和热点的功能",
            "共享大型设计，作为概念阶段反馈和更快的审批过程的链接",
            "汇集各种设计软件的设计，为所有团队成员提供真理",
            "安全文件的访问控制",
          ],
        },
        {
          title: "精选",
          tipsList: [
            "PBR材料、照明、HDR的预设",
            "无论CPU如何，360°视图的即时渲染时间",
            "完整项目的一个链接共享，并即时同步更改",
            "交互式和动画组件",
            "为与3D文件协作而制作的无限云存储",
            "将3D和AR查看器嵌入到生产力工具中",
          ],
        },
      ],
    },
    {
      title: "产品和工业设计",
      img: "/images/business/case/2.jpg",
      list: [
        {
          title: "福利",
          tipsList: [
            "从原型到最终设计，再到一个工作流程的在线发布",
            "多亏了AR，没有物理样本的最终可视化",
            "改善概念开发阶段的决策过程",
            "添加自定义材料或快速模拟材料选项",
            "构建一个团队中任何人都可以使用的3D资产库",
          ],
        },
        {
          title: "精选",
          tipsList: [
            "用于其他信息和变体的交互式用户界面",
            "导入60多种文件格式",
            "在增强现实中预览原型",
            "定制材料库和设计系统",
            "直接在3D场景中发表评论",
          ],
        },
      ],
    },
    {
      title: "市场营销、网络和广告",
      img: "/images/business/case/3.jpg",
      list: [
        {
          title: "福利",
          tipsList: [
            "没有外部资源或实物样品的情况下快速上市",
            "为活动、演示、零售规划和AR创建内容",
            "电子商务选项，用于定制和展示所有变体",
            "供应商或部门之间的资产交接",
            "创建逼真的高分辨率产品渲染",
            "传达真实照片拍摄所需的角度",
            "使客户和代理商之间的沟通更加有效",
            "互动式3D演示形式的零售培训材料",
          ],
        },
        {
          title: "精选",
          tipsList: [
            "直接在3D模型上导入2D图像，用于品牌和产品信息",
            "创意和有用的模型、材料和场景库",
            "一个链接共享，有访问权限和私人共享",
            "在线嵌入到任何网络构建器或演示工具，并立即同步更改",
            "一键从任何角度渲染导出png",
            "带有即时增强现实预览的链接和二维码",
          ],
        },
      ],
    },
    {
      title: "销售和客户管理",
      img: "/images/business/case/4.jpg",
      list: [
        {
          title: "福利",
          tipsList: [
            "贸易展的数字工具包，无需依赖实物样品",
            "在真实位置和用例中使用增强现实",
            "仅展示一个项目的所有变体的选项",
            "在任何移动设备上轻松访问",
            "高可溶率渲染，效果令人印象深刻",
            "定制颜色、徽标或尺寸",
            "使用一个链接与客户共享，跳过文件下载",
            "零售培训材料",
          ],
        },
        {
          title: "精选",
          tipsList: [
            "直接在3D模型上导入2D图像，用于品牌和产品信息",
            "将所有项目保存在一个工作区内，以便快速访问",
            "显示运动、信息、尺寸的互动热点",
            "一个链接共享，具有访问权限和隐私控制",
            "在线嵌入到任何网络或协作工具中",
            "一键从任何角度渲染导出png",
            "带有即时增强现实预览的链接和二维码",
          ],
        },
      ],
    },
    {
      title: "制造和ODM",
      img: "/images/business/case/5.jpg",
      list: [
        {
          title: "福利",
          tipsList: [
            "一个设计可以包含所有开发信息",
            "在没有物理样本或视频的情况下显示移动性和模块化",
            "多个团队的协作，即时更新",
            "增强现实可视化，以获得更好的反馈回路",
            "创建3D爆炸视图，以更好地了解所有组件是如何组装的",
          ],
        },
        {
          title: "精选",
          tipsList: [
            "详细规格和材料变化的浮动用户界面",
            "用于空间规划的AR中查看的准确大小选项",
            "与多个利益相关者共享3D演示文稿",
            "动画可用于解释模块化或移动组件",
            "将3D查看器嵌入到产品开发软件甚至产品规格中",
          ],
        },
      ],
    },
    {
      title: "客户支持、维修和保养",
      img: "/images/business/case/6.jpg",
      list: [
        {
          title: "福利",
          tipsList: [
            "内部团队的入职",
            "改善与客户的沟通",
            "在一个场景中使用交互式分步流程的说明",
            "用一个链接替换笨重的手册、视频或2D图纸",
            "为组件或客户端自定义信息的快速选项",
          ],
        },
        {
          title: "精选",
          tipsList: [
            "浮动用户界面，可以灵活地显示各种信息类型",
            "用于显示特定部件的相机开关控制",
            "指导流程步骤的交互",
            "一个链接共享，用于电子邮件、聊天或任何在线演示",
            "AR让客户在实际产品分销之前尝试有争议的项目",
            "3D对象部件可以链接到特定的手册或博客",
            "突出显示部分以更好地理解",
          ],
        },
      ],
    },
  ];
  function jump(path) {
    router.push(path);
  }
</script>

<style lang="scss" scoped>
  @import "@/styles/variables.scss";

  .forum-header {
    padding: 48px 0 0;

    .container {
      .forum-header-title {
        font-size: 64px;
        font-weight: 500;
        color: #000;
        line-height: 1.6;
        text-align: center;
        letter-spacing: 3px;
      }
      .forum-header-content {
        margin: 20px auto;
        width: 50%;
        line-height: 1.6;
        text-align: center;
        font-size: 16px;
        color: #585858;
      }
    }
    // 响应式 电脑
    @media (max-width: $breakpoint-desktop) {
      .container {
        .forum-header-title {
          font-size: 50px;
          letter-spacing: 2px;
        }
      }
    }
    // 响应式 平板
    @media (max-width: $breakpoint-tablet) {
      padding: 32px 0;
      .container {
        .forum-header-title {
          font-size: 38px;
          letter-spacing: 1px;
        }
        .forum-header-content {
          margin-top: 20px;
          font-size: 14px;
          width: 80%;
        }
      }
    }
    // 响应式 手机
    @media (max-width: $breakpoint-mobile) {
      padding: 24px 0;
      .container {
        .forum-header-title {
          font-size: 32px;
        }
      }
    }
  }

  .find-btn {
    margin: 40px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    &.left {
      justify-content: flex-start;
    }
    .find-btn-txt {
      display: inline-block;
      text-align: center;
      padding: 6px 20px;
      min-width: 60px;
      font-size: 16px;
      border-radius: 6px;
      color: #fff;
      background-color: #703ffa;
      border: 1px solid #703ffa;
      cursor: pointer;
      transition: all 0.2s ease-in-out;
      &:hover {
        color: #703ffa;
        background-color: transparent;
      }
      &.transparent {
        color: #703ffa;
        background-color: transparent;

        &:hover {
          background-color: #703ffa;
          color: #fff;
        }
      }
    }

    @media (max-width: $breakpoint-mobile) {
      margin: 20px auto;
      .find-btn-txt {
        margin: 20px auto;
        padding: 4px 20px;
        min-width: 100px;
        font-size: 14px;
      }
    }
  }

  .img-section {
    padding: 40px 0 40px;
  }
  .img-section-img {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    object-fit: cover;
    box-shadow: 2px 4px 8px 8px rgba(0, 0, 0, 0.05);
    &.cursor {
      cursor: pointer;
    }
  }

  .secure-content {
    padding: 25px 0;
    .container {
      .secure-title {
        font-size: 48px;
        font-weight: 500;
        color: #000;
        text-align: center;
        margin-bottom: 40px;
      }
      .secure-level {
        display: flex;
        justify-content: space-between;
        margin-bottom: 40px;
        .secure-level-content {
          flex: 1;
          width: 50%;
          padding: 0 0 0 20px;
          display: flex;
          flex-direction: column;
          justify-content: center;
          .secure-level-tips {
            font-size: 16px;
            font-weight: 500;
            color: #383838;
            margin-bottom: 20px;
          }
          .secure-level-tips-small {
            font-size: 14px;
            font-weight: 500;
            color: #929292;
          }
          .secure-level-title {
            font-size: 32px;
            font-weight: 500;
            color: #383838;
            margin-bottom: 20px;
          }
          .secure-level-desc {
            margin: 0 0 20px;
            font-size: 16px;
            color: #585858;
            li {
              list-style: none;
              position: relative;
              padding-left: 15px;
              &::before {
                content: "•";
                position: absolute;
                left: 0;
                top: 50%;
                color: #585858;
                font-size: 16px;
                transform: translateY(-50%);
              }
            }
          }
        }
      }
      // 响应式 电脑
      @media (max-width: $breakpoint-desktop) {
        .secure-title {
          font-size: 36px;
        }
        .secure-level {
          display: flex;
          justify-content: space-between;
          flex-wrap: wrap;
          .secure-level-content {
            flex: 1 1 100%;
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;

            .secure-level-title {
              font-size: 28px;
              font-weight: 500;
              text-align: center;
            }
            .secure-level-tips {
              font-size: 14px;
            }

            .secure-level-desc {
              font-size: 16px;
            }
          }
        }
      }
      // 响应式 平板
      @media (max-width: $breakpoint-tablet) {
        .secure-title {
          font-size: 32px;
          margin-bottom: 30px;
        }
        .secure-level {
          .secure-level-content {
            .secure-level-title {
              font-size: 28px;
            }
            .secure-level-desc {
              font-size: 16px;
            }
          }
        }
      }
      // 响应式 手机
      @media (max-width: $breakpoint-mobile) {
        .secure-title {
          font-size: 28px;
          margin-bottom: 20px;
          text-align: left;
        }
        .secure-level {
          .secure-level-content {
            .secure-level-title {
              font-size: 20px;
              text-align: left;
            }
            .secure-level-desc {
              font-size: 14px;
            }
          }
        }
      }
    }
  }
</style>
